package com.ethink.warehouse.api.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 仓库库龄报表 查询响应实体
 *
 * @author default
 * @date 2023-01-29
 */
@Data
public class ReportMateInventoryAgeQueryResponse {

    private Long id;

    @Schema(description ="数据日期")
    private String repDate;

    @Schema(description ="商品SKU")
    private String mateSku;

    @Schema(description ="分仓编号")
    private String subWarehouseCode;

    @Schema(description ="分仓名称")
    private String subWarehouseName;

    @Schema(description ="渠道")
    private String saleSubChannel;

    @Schema(description ="枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType;

    @Schema(description ="库存数量")
    private Integer qty;

    @Schema(description ="库存金额")
    private BigDecimal amt;

    @Schema(description ="0-30天数量")
    private Integer f0t30Qty;

    @Schema(description ="0-30天金额")
    private BigDecimal f0t30Amt;

    @Schema(description ="30-60天数量")
    private Integer f30t60Qty;

    @Schema(description ="30-60天金额")
    private BigDecimal f30t60Amt;

    @Schema(description ="60-90天数量")
    private Integer f60t90Qty;

    @Schema(description ="60-90天金额")
    private BigDecimal f60t90Amt;

    @Schema(description ="90-180天数量")
    private Integer f90t180Qty;

    @Schema(description ="90-180天金额")
    private BigDecimal f90t180Amt;

    @Schema(description ="180-270天数量")
    private Integer f180t270Qty;

    @Schema(description ="180-270天金额")
    private BigDecimal f180t270Amt;

    @Schema(description ="270-360天数量")
    private Integer f270t360Qty;

    @Schema(description ="270-360天金额")
    private BigDecimal f270t360Amt;

    @Schema(description ="360天以上数量")
    private Integer f360Qty;

    @Schema(description ="360天以上金额")
    private BigDecimal f360Amt;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;

    /** 商品关联信息 **/
    @Schema(description ="商品编码")
    private String mateCode;

    @Schema(description ="商品名称")
    private String mateName;

    @Schema(description ="商品SKU名称")
    private String mateSkuName;

    @Schema(description ="大类编号")
    private String generaCode;

    @Schema(description ="大类编号名称")
    private String generaCodeName;

    @Schema(description ="中类编号")
    private String minorDefectsCode;

    @Schema(description ="中类编号名称")
    private String minorDefectsCodeName;

    @Schema(description ="小类编号")
    private String subclassCode;

    @Schema(description ="小类编号名称")
    private String subclassCodeName;

    @Schema(description ="品牌编码")
    private String brandCode;

    @Schema(description ="品牌名称")
    private String brandName;

    @Schema(description ="商品条码")
    private String internationCode;

    @Schema(description ="商品规格")
    private String productSpecification;

    @Schema(description ="包装单位编码")
    private String unitCode;

    @Schema(description ="包装单位名称")
    private String unitName;

    @Schema(description = "平均天数")
    private Integer averageQty;

}
